home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Art / Ci-Cz / Clip Art Stack 27.cpt / Clip Art Stack 27S / background_7431.xml < prev    next >
Extensible Markup Language  |  1992-10-03  |  10KB  |  269 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>7431</id>
  5.     <filler1>0</filler1>
  6.     <bitmap>BMAP_9928.pbm</bitmap>
  7.     <cantDelete> <false /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <link rel="stylesheet" type="text/css" href="stylesheet_3072.css" />
  11.     <part>
  12.         <id>1</id>
  13.         <type>button</type>
  14.         <visible> <true /> </visible>
  15.         <reserved5> 0 </reserved5>
  16.         <reserved4> 0 </reserved4>
  17.         <reserved3> 0 </reserved3>
  18.         <reserved2> 0 </reserved2>
  19.         <reserved1> 0 </reserved1>
  20.         <enabled> <true /> </enabled>
  21.         <rect>
  22.             <left>28</left>
  23.             <top>302</top>
  24.             <right>51</right>
  25.             <bottom>324</bottom>
  26.         </rect>
  27.         <style>transparent</style>
  28.         <showName> <false /> </showName>
  29.         <highlight> <false /> </highlight>
  30.         <autoHighlight> <false /> </autoHighlight>
  31.         <sharedHighlight> <true /> </sharedHighlight>
  32.         <family>0</family>
  33.         <titleWidth>0</titleWidth>
  34.         <icon>1014</icon>
  35.         <textAlign>center</textAlign>
  36.         <font>Chicago</font>
  37.         <textSize>12</textSize>
  38.         <textStyle>plain</textStyle>
  39.         <name>Prev</name>
  40.         <script>on mouseUpvisual effect dissolve slowgo to previous cardend mouseUp</script>
  41.     </part>
  42.     <part>
  43.         <id>2</id>
  44.         <type>button</type>
  45.         <visible> <true /> </visible>
  46.         <reserved5> 0 </reserved5>
  47.         <reserved4> 0 </reserved4>
  48.         <reserved3> 0 </reserved3>
  49.         <reserved2> 0 </reserved2>
  50.         <reserved1> 0 </reserved1>
  51.         <enabled> <true /> </enabled>
  52.         <rect>
  53.             <left>56</left>
  54.             <top>302</top>
  55.             <right>81</right>
  56.             <bottom>324</bottom>
  57.         </rect>
  58.         <style>transparent</style>
  59.         <showName> <false /> </showName>
  60.         <highlight> <false /> </highlight>
  61.         <autoHighlight> <false /> </autoHighlight>
  62.         <sharedHighlight> <true /> </sharedHighlight>
  63.         <family>0</family>
  64.         <titleWidth>0</titleWidth>
  65.         <icon>1013</icon>
  66.         <textAlign>center</textAlign>
  67.         <font>Chicago</font>
  68.         <textSize>12</textSize>
  69.         <textStyle>plain</textStyle>
  70.         <name>Next</name>
  71.         <script>on mouseUpvisual effect dissolve slowgo to next cardend mouseUp</script>
  72.     </part>
  73.     <part>
  74.         <id>7</id>
  75.         <type>field</type>
  76.         <visible> <true /> </visible>
  77.         <dontWrap> <false /> </dontWrap>
  78.         <dontSearch> <false /> </dontSearch>
  79.         <sharedText> <false /> </sharedText>
  80.         <fixedLineHeight> <true /> </fixedLineHeight>
  81.         <autoTab> <false /> </autoTab>
  82.         <lockText> <false /> </lockText>
  83.         <rect>
  84.             <left>0</left>
  85.             <top>117</top>
  86.             <right>101</right>
  87.             <bottom>170</bottom>
  88.         </rect>
  89.         <style>rectangle</style>
  90.         <autoSelect> <false /> </autoSelect>
  91.         <showLines> <false /> </showLines>
  92.         <wideMargins> <false /> </wideMargins>
  93.         <multipleLines> <false /> </multipleLines>
  94.         <reservedFamily> 0 </reservedFamily>
  95.         <titleWidth>0</titleWidth>
  96.         <icon>0</icon>
  97.         <textAlign>left</textAlign>
  98.         <font>New York</font>
  99.         <textSize>10</textSize>
  100.         <textStyle>plain</textStyle>
  101.         <textHeight>13</textHeight>
  102.         <name>Keywords</name>
  103.         <script></script>
  104.     </part>
  105.     <part>
  106.         <id>8</id>
  107.         <type>button</type>
  108.         <visible> <true /> </visible>
  109.         <reserved5> 0 </reserved5>
  110.         <reserved4> 0 </reserved4>
  111.         <reserved3> 0 </reserved3>
  112.         <reserved2> 0 </reserved2>
  113.         <reserved1> 0 </reserved1>
  114.         <enabled> <true /> </enabled>
  115.         <rect>
  116.             <left>35</left>
  117.             <top>70</top>
  118.             <right>75</right>
  119.             <bottom>97</bottom>
  120.         </rect>
  121.         <style>shadow</style>
  122.         <showName> <false /> </showName>
  123.         <highlight> <false /> </highlight>
  124.         <autoHighlight> <false /> </autoHighlight>
  125.         <sharedHighlight> <true /> </sharedHighlight>
  126.         <family>0</family>
  127.         <titleWidth>0</titleWidth>
  128.         <icon>32670</icon>
  129.         <textAlign>center</textAlign>
  130.         <font>Chicago</font>
  131.         <textSize>12</textSize>
  132.         <textStyle>plain</textStyle>
  133.         <name></name>
  134.         <script>on mouseUpshow all cardsend mouseUp</script>
  135.     </part>
  136.     <part>
  137.         <id>10</id>
  138.         <type>field</type>
  139.         <visible> <true /> </visible>
  140.         <dontWrap> <false /> </dontWrap>
  141.         <dontSearch> <false /> </dontSearch>
  142.         <sharedText> <true /> </sharedText>
  143.         <fixedLineHeight> <true /> </fixedLineHeight>
  144.         <autoTab> <false /> </autoTab>
  145.         <lockText> <true /> </lockText>
  146.         <rect>
  147.             <left>0</left>
  148.             <top>170</top>
  149.             <right>103</right>
  150.             <bottom>221</bottom>
  151.         </rect>
  152.         <style>shadow</style>
  153.         <autoSelect> <false /> </autoSelect>
  154.         <showLines> <false /> </showLines>
  155.         <wideMargins> <true /> </wideMargins>
  156.         <multipleLines> <false /> </multipleLines>
  157.         <reservedFamily> 0 </reservedFamily>
  158.         <titleWidth>0</titleWidth>
  159.         <icon>0</icon>
  160.         <textAlign>center</textAlign>
  161.         <font>New York</font>
  162.         <textSize>12</textSize>
  163.         <textStyle>bold</textStyle>
  164.         <textHeight>16</textHeight>
  165.         <name>HCCdNmbrOfHC</name>
  166.         <script>function cardData-- this handler stores the card data specified by the-- user. DO NOT MOVE THE POSITION OF THIS HANDLER!return "bkgnd"end cardDataon newfield-- create a new openCard handler when pastedput word 1 of the long name of me into fieldTypeif fieldType is "Bkgnd" then set sharedText of me to trueaddStackScript fieldTypeupdateCardData fieldTypeend newfieldon deleteFieldremoveScriptend deleteFieldon removeScript-- removes the openCard handler added on newFieldput cardData() into fieldTypeget script of fieldTypeif line 1 of scriptBody(fieldType) is in it thenput offset(line 1 of scriptBody(fieldType),it) into startBlockput startBlock + number of chars in scriptBody(fieldType) + ¬¨the number of lines in scriptBody(fieldType) + 1 into endBlockdelete char startBlock to endBlock of itset script of fieldType to itend ifend removeScripton mouseUp-- rebuilds the openCard handler in the stack script if necessaryaddStackScript cardData()end mouseUpon addStackScript fieldTypeget script of fieldTypeif "openCard" is in it thenif (fieldType && "field id" && id of me) is not in it thenput scriptBody(fieldType) & return after char ¬¨(offSet("openCard",it) + 8) of itset script of fieldType to itend ifelseif it ‚↠empty thenif last char of it = return then put return after itelse put return & return after itend if-- write the full handlerput "on openCard" & return & scriptBody(fieldType) & return & ¬¨"pass openCard" & return & "end openCard" after itset script of fieldType to itend ifend addStackScriptfunction scriptBody fieldType-- returns the body of the openCard handlerreturn "if there is a" && fieldType && "field id" && id of me & return & ¬¨"then put" && quote & "Card" & quote && "&& the number of this card && " & ¬¨quote & "of" & quote && "&& ¬¨" & return & "the number of cards into" && ¬¨fieldType && "field id" && id of meend scriptBodyon updateCardData fieldType-- write range back to the data handler in this script-- doesn't take effect until idleget script of meput quote & fieldType & quote into newDataput newData into char offset(quote,it) to (offSet("end",it) - 2) of itset script of me to itend updateCardData</script>
  167.     </part>
  168.     <part>
  169.         <id>11</id>
  170.         <type>button</type>
  171.         <visible> <true /> </visible>
  172.         <reserved5> 0 </reserved5>
  173.         <reserved4> 0 </reserved4>
  174.         <reserved3> 0 </reserved3>
  175.         <reserved2> 0 </reserved2>
  176.         <reserved1> 0 </reserved1>
  177.         <enabled> <true /> </enabled>
  178.         <rect>
  179.             <left>1</left>
  180.             <top>222</top>
  181.             <right>101</right>
  182.             <bottom>244</bottom>
  183.         </rect>
  184.         <style>roundrect</style>
  185.         <showName> <true /> </showName>
  186.         <highlight> <false /> </highlight>
  187.         <autoHighlight> <false /> </autoHighlight>
  188.         <sharedHighlight> <true /> </sharedHighlight>
  189.         <family>0</family>
  190.         <titleWidth>0</titleWidth>
  191.         <icon>0</icon>
  192.         <textAlign>center</textAlign>
  193.         <font>Chicago</font>
  194.         <textSize>12</textSize>
  195.         <textStyle>plain</textStyle>
  196.         <name>Find</name>
  197.         <script>on mouseUpDoMenu "Find..."end mouseUp</script>
  198.     </part>
  199.     <part>
  200.         <id>12</id>
  201.         <type>button</type>
  202.         <visible> <true /> </visible>
  203.         <reserved5> 0 </reserved5>
  204.         <reserved4> 0 </reserved4>
  205.         <reserved3> 0 </reserved3>
  206.         <reserved2> 0 </reserved2>
  207.         <reserved1> 0 </reserved1>
  208.         <enabled> <true /> </enabled>
  209.         <rect>
  210.             <left>1</left>
  211.             <top>249</top>
  212.             <right>101</right>
  213.             <bottom>271</bottom>
  214.         </rect>
  215.         <style>roundrect</style>
  216.         <showName> <true /> </showName>
  217.         <highlight> <false /> </highlight>
  218.         <autoHighlight> <false /> </autoHighlight>
  219.         <sharedHighlight> <true /> </sharedHighlight>
  220.         <family>0</family>
  221.         <titleWidth>0</titleWidth>
  222.         <icon>0</icon>
  223.         <textAlign>center</textAlign>
  224.         <font>Chicago</font>
  225.         <textSize>12</textSize>
  226.         <textStyle>plain</textStyle>
  227.         <name>Clip it!</name>
  228.         <script>on mouseUpshow MenuBarchoose select tooldrag from 105,10 to 503,332doMenu "Copy Picture"choose browse toolend mouseUp</script>
  229.     </part>
  230.     <part>
  231.         <id>13</id>
  232.         <type>button</type>
  233.         <visible> <true /> </visible>
  234.         <reserved5> 0 </reserved5>
  235.         <reserved4> 0 </reserved4>
  236.         <reserved3> 0 </reserved3>
  237.         <reserved2> 0 </reserved2>
  238.         <reserved1> 0 </reserved1>
  239.         <enabled> <true /> </enabled>
  240.         <rect>
  241.             <left>2</left>
  242.             <top>276</top>
  243.             <right>102</right>
  244.             <bottom>298</bottom>
  245.         </rect>
  246.         <style>roundrect</style>
  247.         <showName> <true /> </showName>
  248.         <highlight> <false /> </highlight>
  249.         <autoHighlight> <false /> </autoHighlight>
  250.         <sharedHighlight> <true /> </sharedHighlight>
  251.         <family>0</family>
  252.         <titleWidth>0</titleWidth>
  253.         <icon>0</icon>
  254.         <textAlign>center</textAlign>
  255.         <font>Chicago</font>
  256.         <textSize>12</textSize>
  257.         <textStyle>plain</textStyle>
  258.         <name>Scrapbook</name>
  259.         <script>on mouseUpDoMenu "Scrapbook"end mouseUp</script>
  260.     </part>
  261.     <content>
  262.         <layer>background</layer>
  263.         <id>10</id>
  264.         <text>Card 11 of 12</text>
  265.     </content>
  266.     <name></name>
  267.     <script>on openCardif there is a bkgnd field id 10then put "Card" && the number of this card && "of" && ¬¨the number of cards into bkgnd field id 10pass openCardend openCard</script>
  268. </background>
  269.